Description | : > [!NOTE] > > **Azure Maps Traffic v1 service retirement** > > The Azure Maps [Traffic v1](/rest/api/maps/traffic?view=rest-maps-1.0) service is now deprecated and will be retired on 3/31/28. To avoid service disruptions, all calls to Traffic v1 service will need to be updated by 3/31/28. For more information, see [Migrate Azure Maps Traffic 1.0 APIs](/azure/azure-maps/migrate-traffic-v1-api). The `Traffic Flow Tile` API is an HTTP `GET` request that returns real-time information about traffic conditions in 256 x 256 pixel tiles that show traffic flow. All tiles use the same grid system. Because the traffic tiles use transparent images, they can be layered on top of map tiles to create a compound display. The Flow tiles use colors to indicate either the speed of traffic on different road segments, or the difference between that speed and the free-flow speed on the road segment in question. |
Reference | : Link ¶ |
⚶ Changes
{ "#id": "Traffic_GetTrafficFlowTile", "Description": { "new": "\n\n> [!NOTE]\n>\n> **Azure Maps Traffic v1 service retirement**\n>\n> The Azure Maps [Traffic v1](/rest/api/maps/traffic?view=rest-maps-1.0) service is now deprecated and will be retired on 3/31/28. To avoid service disruptions, all calls to Traffic v1 service will need to be updated by 3/31/28. For more information, see [Migrate Azure Maps Traffic 1.0 APIs](/azure/azure-maps/migrate-traffic-v1-api).\n\nThe `Traffic Flow Tile` API is an HTTP `GET` request that returns real-time information about traffic conditions in 256 x 256 pixel tiles that show traffic flow. All tiles use the same grid system. Because the traffic tiles use transparent images, they can be layered on top of map tiles to create a compound display. The Flow tiles use colors to indicate either the speed of traffic on different road segments, or the difference between that speed and the free-flow speed on the road segment in question.", "old": "\n\nThe `Traffic Flow Tile` API is an HTTP `GET` request that returns real-time information about traffic conditions in 256 x 256 pixel tiles that show traffic flow. All tiles use the same grid system. Because the traffic tiles use transparent images, they can be layered on top of map tiles to create a compound display. The Flow tiles use colors to indicate either the speed of traffic on different road segments, or the difference between that speed and the free-flow speed on the road segment in question." } }
⚼ Request
GET:
/traffic/flow/tile/{format}
{
x-ms-client-id:
string
,
api-version:
string
,
format:
string
,
style:
string
,
zoom:
integer
,
x:
integer
,
y:
integer
,
thickness:
integer
,
}
⚐ Response (200)
{
$headers:
{
,
content-type:
string
,
}
$schema:
object
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}